<div class="sidebaritem">
	<div class="rtop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
	<h3>Categorias</h3>
	<ul>
		<?php foreach($tpl_category as $o_val):?>
		<li><a href="<?php echo URL_TAG.$o_val->name?>"><?php echo $o_val->name?> (<?php echo $o_val->total;?>)</a></li>
		<?php endforeach?>
	</ul>
	<div class="rbottom"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
	</div>

	<div class="sidebaritem">
	<div class="rtop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
	<h3>Enlaces</h3>
	<ul>
		<?php foreach($tpl_link as $o_val):?>
		<li><a href="<?php echo $o_val->href?>"><?php echo $o_val->text?></a></li>
		<?php endforeach?>
	</ul>
	<div class="rbottom"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
	</div>
        
